Ankita Patil [Thu, 6 Nov 2014 12:16:02 +0000 (17:46 +0530)]
GtkEntry: Added gtk_entry_grab_focus_without_selection()
Providing a way to focus an entry without selecting its contents.
https://bugzilla.gnome.org/show_bug.cgi?id=735838
Matthias Clasen [Sat, 6 Dec 2014 02:24:43 +0000 (21:24 -0500)]
GtkTextTag: Add two missing property set cases
These were overlooked when adding ::fallback and ::letter-spacing
recently.
Matthias Clasen [Sat, 6 Dec 2014 01:05:46 +0000 (20:05 -0500)]
Update docs
Document new fields in GtkTextAttributes, remove redundant comments.
Matthias Clasen [Sat, 6 Dec 2014 00:58:23 +0000 (19:58 -0500)]
Minor documentation fixes
Matthias Clasen [Sat, 6 Dec 2014 00:29:39 +0000 (19:29 -0500)]
Raleigh: Fix css for active notebook tabs
This was not kept up-to-date when we changed notebootk
tab rendering.
https://bugzilla.gnome.org/show_bug.cgi?id=741185
Carlos Soriano [Thu, 4 Dec 2014 15:21:46 +0000 (16:21 +0100)]
gtkscale: Draw smaller marks
As a design request, use smaller marks.
https://bugzilla.gnome.org/show_bug.cgi?id=741117
Carlos Soriano [Fri, 5 Dec 2014 10:09:56 +0000 (11:09 +0100)]
widget-factory: Add a discontinuous GtkScale with marks
So designers can tweak the marks and developers can see how a
discontinuos scale is implemented.
https://bugzilla.gnome.org/show_bug.cgi?id=741117
Matthias Clasen [Fri, 5 Dec 2014 04:28:33 +0000 (23:28 -0500)]
Add epoxy to GTK_PRIVATE_PACKAGES
We are using epoxy api in GtkGLArea, so we need to link against it.
https://bugzilla.gnome.org/show_bug.cgi?id=740162
Matthias Clasen [Fri, 5 Dec 2014 03:26:14 +0000 (22:26 -0500)]
places sidebar: Fix the sort function
When returning 1 for a pair (a,b), a sort function must
return -1 for the pair (b,a), otherwise things can go
badly.
https://bugzilla.gnome.org/show_bug.cgi?id=739729
Debarshi Ray [Tue, 11 Nov 2014 18:02:22 +0000 (19:02 +0100)]
file-chooser: Don't wait for ENTER to initiate search
Most of the core GNOME applications (eg., gnome-control-center,
gnome-documents, and nautilus) start searching as soon as the text
changes, and don't wait for the user to hit ENTER. It would be nice to
follow the same pattern.
https://bugzilla.gnome.org/show_bug.cgi?id=739977
Matthias Clasen [Thu, 4 Dec 2014 05:08:30 +0000 (00:08 -0500)]
Allow inserting Pango markup in text buffers
This has been a very long-standing feature request.
https://bugzilla.gnome.org/show_bug.cgi?id=59390
Matthias Clasen [Thu, 4 Dec 2014 04:13:13 +0000 (23:13 -0500)]
GtkTextView: Add fallback and letter-spacing support
Add support for the Pango attributes controlling font fallback
and letter spacing to GtkTextTag.
https://bugzilla.gnome.org/show_bug.cgi?id=740954
Piotr Drąg [Wed, 3 Dec 2014 14:31:23 +0000 (15:31 +0100)]
Updated POTFILES.skip
Jakub Steiner [Wed, 3 Dec 2014 10:42:06 +0000 (11:42 +0100)]
HC: use child istead of descendant selectors for linking
Since widgets subelements are now both widget childs and widget
classes, say .spinbutton.button and .spinbutton .button,
the linking logic needs to be adapted to be stricter with
child selectors. This fixes vertically linked spinbuttons.
Jakub Steiner [Tue, 2 Dec 2014 14:00:30 +0000 (15:00 +0100)]
HC: sidebars and vertical toolbars with borders
- the assumption for vertical toolbar being on the left is perhaps
a little daring, but...
https://bugzilla.gnome.org/show_bug.cgi?id=740859
Lapo Calamandrei [Wed, 3 Dec 2014 10:29:12 +0000 (11:29 +0100)]
Adwaita: use child istead of descendant selectors for linking
Since widgets subelements are now both widget childs and widget
classes, say .spinbutton.button and .spinbutton .button, the linking
logic needs to be adapted to be stricter with child selectors.
This fixes vertically linked spinbuttons.
Chun-wei Fan [Tue, 2 Dec 2014 07:57:17 +0000 (15:57 +0800)]
test/gtkgears.c: Fix Builds on Systems Without M_PI
Use G_PI in place of M_PI to fix the build on compilers that do not have
M_PI defined.
https://bugzilla.gnome.org/show_bug.cgi?id=740795
Trinh Anh Ngoc [Tue, 2 Dec 2014 15:09:21 +0000 (22:09 +0700)]
Add separator
https://bugzilla.gnome.org/show_bug.cgi?id=741027
Trinh Anh Ngoc [Tue, 2 Dec 2014 14:27:23 +0000 (21:27 +0700)]
Remove icon view window shadow
https://bugzilla.gnome.org/show_bug.cgi?id=741027
Matthias Clasen [Wed, 3 Dec 2014 01:06:33 +0000 (20:06 -0500)]
Reshuffle some docs
Matthias Clasen [Wed, 3 Dec 2014 00:54:33 +0000 (19:54 -0500)]
Use resources for icons
This fixes icons after the recent directory reshuffling, and
is just the right thing to do, since these icons are in resources
anyway.
Matthias Clasen [Wed, 3 Dec 2014 00:13:24 +0000 (19:13 -0500)]
Improve action-namespace example
This needs to have some space around the button for the popover
to show up.
Emmanuele Bassi [Tue, 2 Dec 2014 19:27:52 +0000 (19:27 +0000)]
docs: Mention the standalone Makefile for examples
And point to the README file.
https://bugzilla.gnome.org/show_bug.cgi?id=741041
Emmanuele Bassi [Tue, 2 Dec 2014 19:21:18 +0000 (19:21 +0000)]
docs: Add a README to the examples directory
https://bugzilla.gnome.org/show_bug.cgi?id=741041
Emmanuele Bassi [Tue, 2 Dec 2014 19:15:03 +0000 (19:15 +0000)]
Add standalone Makefile for the examples
We want to allow people to build the examples easily, without
necessarily requiring them to build the whole of GTK+.
https://bugzilla.gnome.org/show_bug.cgi?id=741041
Carlos Garnacho [Tue, 2 Dec 2014 14:44:04 +0000 (15:44 +0100)]
popover: make smarter wrt previous focus widget lifetime
If the previous focus widget is unmapped (eg. hidden, scheduled for
destruction, etc), make the popover forget about it and grant focus
back to the window itself.
Marco Trevisan (Treviño) [Tue, 2 Dec 2014 13:59:47 +0000 (14:59 +0100)]
gdkgl: pass the correct number of quads to gdk_gl_texture_quads
And call it only if that's the case
Matthias Clasen [Tue, 2 Dec 2014 13:29:24 +0000 (08:29 -0500)]
css: Avoid excessive shadow rendering
The shadow rendering code had code to exit early if we determine
that the shadow is entirely clipped away. Unfortunately, the check
based on cairo clip extents fails for any clip regions that are
more complicated than axis-aligned rectangles, and we are using
a hollow rounded rectangle here. So, instead, do the check manually,
using the just-introduced API in GtkRoundedBox.
Matthias Clasen [Tue, 2 Dec 2014 13:26:36 +0000 (08:26 -0500)]
Add clipping apis to GtkRoundedBox
This adds two functions for checking whether an axis-aligned
rectangle is completely outside or inside of a rounded box.
These are not trying to be exact, but fast.
Jasper St. Pierre [Tue, 2 Dec 2014 02:01:18 +0000 (18:01 -0800)]
gtkwidget: Fix a typo preventing the CSD input shape from applying
We were setting "csd-shade" but reading from "csd-region".
Chun-wei Fan [Tue, 2 Dec 2014 01:26:35 +0000 (09:26 +0800)]
Visual Studio Build: Update GTK DLL Build Flags
As the print preview command is moved into the sources, don't define it in
the preprocessor definitions. However, define the
GTK_PRINT_BACKEND_ENABLE_UNSUPPORTED in the preprocessor definitions, to
make the build in-line with the autotools builds.
Matias De Lellis [Mon, 1 Dec 2014 20:56:05 +0000 (14:56 -0600)]
GtkPlacesSidebar: Fix Home and Desktop on Windows.
We were concatenating "file://" to the result of g_get_user_special_dir() to build
a URI, but this is not enough on Windows. Use g_filename_to_uri() instead.
See https://bugzilla.gnome.org/show_bug.cgi?id=739453
Jakub Steiner [Mon, 1 Dec 2014 18:06:02 +0000 (19:06 +0100)]
HC: clean up borders for buttons & entries
https://bugzilla.gnome.org/show_bug.cgi?id=740860
Jakub Steiner [Mon, 1 Dec 2014 16:45:26 +0000 (17:45 +0100)]
HC: vertical linked buttons,entries & combos
https://bugzilla.gnome.org/show_bug.cgi?id=740860
Jakub Steiner [Mon, 1 Dec 2014 16:26:11 +0000 (17:26 +0100)]
HC: wide separator styling
https://bugzilla.gnome.org/show_bug.cgi?id=740862
Jakub Steiner [Mon, 1 Dec 2014 14:39:19 +0000 (15:39 +0100)]
HC theme: more contrasty separators
https://bugzilla.gnome.org/show_bug.cgi?id=740863
Jakub Steiner [Mon, 1 Dec 2014 11:33:23 +0000 (12:33 +0100)]
HC theme: implement scroll overshoot
https://bugzilla.gnome.org/show_bug.cgi?id=740876
Rui Matos [Mon, 1 Dec 2014 17:24:27 +0000 (18:24 +0100)]
Drop remaining traces of GTK_UPDATE_ICON_CACHE build variable
Commit
655c75cab791ea965e705e1b8518e6008d3a755f removed the need for
this variable but left a couple of uses in. Drop them.
Marco Trevisan (Treviño) [Mon, 1 Dec 2014 17:05:30 +0000 (18:05 +0100)]
mir: don't initialize the display if the required pixel formats aren't available
Matthias Clasen [Mon, 1 Dec 2014 15:03:33 +0000 (10:03 -0500)]
Update release notes
Mention that --enable-gtk2-dependency is gone.
Benjamin Otte [Mon, 1 Dec 2014 14:38:26 +0000 (15:38 +0100)]
inspector: Properly update flashing hilight
Previously, the inspector would not change the hilight while the
previous hilight was still flashing.
This is inconvenient while arrowing through the object selection
treeview though where you want the currently selected row to hilight
when arrowing quickly.
Marek Kasik [Fri, 28 Nov 2014 14:25:42 +0000 (15:25 +0100)]
printing: Don't crop dimensions of layout preview
Enlarge area for drawing of layout preview in the print dialog
so that it can embody landscape preview with dimensions.
https://bugzilla.gnome.org/show_bug.cgi?id=730232
Lapo Calamandrei [Mon, 1 Dec 2014 09:14:47 +0000 (10:14 +0100)]
Adwaita: scss cosmetic fixes
Lapo Calamandrei [Mon, 1 Dec 2014 09:05:42 +0000 (10:05 +0100)]
Adwaita: GtkTreeView tree lines fix
See https://bugzilla.gnome.org/show_bug.cgi?id=740904 for details.
Matthias Clasen [Mon, 1 Dec 2014 04:43:07 +0000 (23:43 -0500)]
Move print preview command to gtksettings.c
Having this in the source seems more appropriate.
Matthias Clasen [Mon, 1 Dec 2014 04:23:31 +0000 (23:23 -0500)]
Move print backend list to configure.ac
We already juggle the print backends here, might as well
produce the list.
Matthias Clasen [Mon, 1 Dec 2014 04:01:13 +0000 (23:01 -0500)]
Rearrange Makefile some more
Move the introspection parts all together, drop several unused
variables and targets.
Matthias Clasen [Mon, 1 Dec 2014 03:16:42 +0000 (22:16 -0500)]
Drop a few more leftovers
The GTK_FILE_SYSTEM_ENABLE_UNSUPPORTED define is not used anymore,
and we don't install a gtk.css file for Raleigh, so no need to
uninstall one either.
Matthias Clasen [Mon, 1 Dec 2014 02:49:36 +0000 (21:49 -0500)]
Drop gtk-update-icon-cache complications
gtk-update-icon-cache is no longer used at build time, so a lot
of the complicated machinery we have around that (conditional
build, cross build, etc) are no longer required.
Chun-wei Fan [Mon, 1 Dec 2014 04:06:28 +0000 (12:06 +0800)]
MSVC Builds: Finish Removal of the gtk-inspector Projects
The files for build of GtkInspector have been intergrated into the build of
the main GTK+ DLL, and the Visual Studio project templates for those have
been removed as well. Make that removal complete by removing from the
solution files references to it and make the 'gtk' project not to depend on
the gtk-inspector project.
Benjamin Otte [Mon, 1 Dec 2014 03:04:08 +0000 (04:04 +0100)]
testsuite: Fix test that was committed in a broken state
1) Use font-size instead of color
This makes it easier to compare reference and test because the values
don't change.
2) Actually sort the reference properly
This unbreaks the test.
Matthias Clasen [Mon, 1 Dec 2014 01:53:07 +0000 (20:53 -0500)]
Fix distcheck
Using an absolute path with subdir-objects failed in distcheck.
Matthias Clasen [Mon, 1 Dec 2014 00:59:10 +0000 (19:59 -0500)]
Fix ChangeLog generation
missing is no longer in the toplevel directory.
Also, clean up some file lists.
Matthias Clasen [Mon, 1 Dec 2014 00:58:34 +0000 (19:58 -0500)]
Quiet a rule
Matthias Clasen [Mon, 1 Dec 2014 00:58:08 +0000 (19:58 -0500)]
Drop an unused function
Matthias Clasen [Mon, 1 Dec 2014 00:24:07 +0000 (19:24 -0500)]
Generate README and INSTALL from configure
Matthias Clasen [Mon, 1 Dec 2014 00:23:24 +0000 (19:23 -0500)]
Cosmetic formatting fixes
Matthias Clasen [Mon, 1 Dec 2014 00:22:51 +0000 (19:22 -0500)]
Add missing docs
Document GtkSwitch::state_set.
Matthias Clasen [Mon, 1 Dec 2014 00:22:00 +0000 (19:22 -0500)]
Use subdir-objects for docs/tools
Matthias Clasen [Mon, 1 Dec 2014 00:07:52 +0000 (19:07 -0500)]
Cosmetic fixes
Matthias Clasen [Mon, 1 Dec 2014 00:05:09 +0000 (19:05 -0500)]
Drop vs build stuff for inspector
Now that the inspector sources are built as part of gtk/, this should
no longer be needed.
Matthias Clasen [Sun, 30 Nov 2014 22:25:43 +0000 (17:25 -0500)]
Don't use escapes in echo strings
This forces us to fight with echo non-portability. Instead,
just use ' instead of \".
Matthias Clasen [Sun, 30 Nov 2014 21:57:22 +0000 (16:57 -0500)]
quartz: Copy annotations
Better than juggling introspection sources in the Makefile.
Matthias Clasen [Sun, 30 Nov 2014 22:18:31 +0000 (17:18 -0500)]
Quiet some make rules
Matthias Clasen [Sun, 30 Nov 2014 20:33:19 +0000 (15:33 -0500)]
Use subdir-objects in gtk/
Matthias Clasen [Sun, 30 Nov 2014 20:59:53 +0000 (15:59 -0500)]
inspector: Build nonrecursively
Matthias Clasen [Sun, 30 Nov 2014 20:30:48 +0000 (15:30 -0500)]
Split subdirectory file lists off
This moves a little closer to a proper nonrecursive setup, and
makes the gtk Makefile.am less monstrous.
Matthias Clasen [Sun, 30 Nov 2014 20:15:59 +0000 (15:15 -0500)]
List formatting cleanup
Always put sublists first.
Matthias Clasen [Sun, 30 Nov 2014 20:13:45 +0000 (15:13 -0500)]
Drop a nonexisting variable
Matthias Clasen [Sun, 30 Nov 2014 20:13:13 +0000 (15:13 -0500)]
Drop redundant include
Matthias Clasen [Sun, 30 Nov 2014 19:59:18 +0000 (14:59 -0500)]
Drop an unused variable
This is another leftover from when we were doing export checks.
Matthias Clasen [Sun, 30 Nov 2014 19:50:05 +0000 (14:50 -0500)]
Drop the extra resources/ subdirectory
This subdirectory gets in the way when integrating the inspector
build more fully with GTK+, and does not really add anything.
Just move everything one level up.
Cosimo Cecchi [Sat, 29 Nov 2014 18:33:02 +0000 (10:33 -0800)]
GtkPlacesSidebar: add support for unmount notifications
Now that we can use GNotification from here, send a notification when
umounting from GtkPlacesSidebar.
https://bugzilla.gnome.org/show_bug.cgi?id=740896
Matthias Clasen [Sat, 29 Nov 2014 23:49:46 +0000 (18:49 -0500)]
widget-factory: Add a treeview separator row
Suggested in https://bugzilla.gnome.org/show_bug.cgi?id=740851
Matthias Clasen [Sat, 29 Nov 2014 22:06:04 +0000 (17:06 -0500)]
HighContrast: in app notification padding
Copied the Adwaita treatment from
e5d34372c4f163e49fb1e0a95f53445f6fa13f2c
https://bugzilla.gnome.org/show_bug.cgi?id=740857
Lapo Calamandrei [Sat, 29 Nov 2014 17:46:06 +0000 (18:46 +0100)]
HighContrast: scale slider fix and cleanup
Set GtkScale margins on the .trough component so the .slider
doesn't inherit them vanishing.
Remove a bunch trailing white spaces in the process.
Lapo Calamandrei [Sat, 29 Nov 2014 17:21:12 +0000 (18:21 +0100)]
Adwaita: set scale with marks trough margin where it belongs to
Matthias Clasen [Sat, 29 Nov 2014 05:26:52 +0000 (00:26 -0500)]
Beautify example Makefiles a bit
Matthias Clasen [Sat, 29 Nov 2014 05:01:49 +0000 (00:01 -0500)]
GtkModelMenuItem: put some space between icon and label
This makes the bloatpad icons menu look slightly less odd.
Matthias Clasen [Sat, 29 Nov 2014 04:55:03 +0000 (23:55 -0500)]
Make include order consistent in example applications
Pointed out in
https://bugzilla.gnome.org/show_bug.cgi?id=740537
Benjamin Otte [Sat, 29 Nov 2014 02:33:47 +0000 (03:33 +0100)]
range: Implement :hover for the whole widget
Benjamin Otte [Sat, 29 Nov 2014 02:27:36 +0000 (03:27 +0100)]
range: Handle redraws inside update_mouse_location
This way, we can do finer-grained invalidation. Plus, we get to not
duplicate all the queue_draw() calls.
Benjamin Otte [Sat, 29 Nov 2014 02:23:58 +0000 (03:23 +0100)]
range: Properly queue draws when doing a drag
The dragged area needs to be marked as :active during the drag.
Benjamin Otte [Sat, 29 Nov 2014 02:20:18 +0000 (03:20 +0100)]
range: Remove unused variable
The variable was TRUE from the beginning and only ever set to TRUE.
Benjamin Otte [Sat, 29 Nov 2014 02:18:50 +0000 (03:18 +0100)]
range: No need to update mouse location when starting a drag
The mouse position doesn't change here. Plus, all callers have just
updated it anyway.
Benjamin Otte [Sat, 29 Nov 2014 01:39:47 +0000 (02:39 +0100)]
range: Only call needed functions from adjustment changes
No need to recalc the whole range when all that changed was the slider.
Benjamin Otte [Sat, 29 Nov 2014 01:17:27 +0000 (02:17 +0100)]
range: Implement gtk_range_calc_stepper_sensitivity() properly
Benjamin Otte [Sat, 29 Nov 2014 00:47:31 +0000 (01:47 +0100)]
range: Implement gtk_range_calc_slider() properly
Benjamin Otte [Sat, 29 Nov 2014 00:39:09 +0000 (01:39 +0100)]
range: Refactor a function
This is in preparation for more places that want to
queue_draw_location().
Benjamin Otte [Sat, 29 Nov 2014 00:23:54 +0000 (01:23 +0100)]
range: Introduce finer-grained invalidation
The invalidation doesn't do anything yet, it just clears up what
actually needs recalculation.
Benjamin Otte [Sat, 29 Nov 2014 00:15:36 +0000 (01:15 +0100)]
range: Changing the min slider size requires a resize
Benjamin Otte [Thu, 27 Nov 2014 23:24:06 +0000 (00:24 +0100)]
range: No need to frce a recalc
A resize will already trigger a recalc, so no need to explicitly trigger
it.
Benjamin Otte [Sat, 29 Nov 2014 00:55:06 +0000 (01:55 +0100)]
widget: Clarify some corner cases
I checked Cairo source code (actually pixman, as Cairo just passes
through) to make sure that the behavior stays identical: negative values
cause an error message from pixman, zero is allowed. Both return an
empty region which gtk_widget_queue_draw_region() would then proceed to
ignore.
Jasper St. Pierre [Fri, 28 Nov 2014 22:03:50 +0000 (14:03 -0800)]
Fix build
Jakub Steiner [Fri, 28 Nov 2014 14:47:58 +0000 (15:47 +0100)]
Provide symbolic variants of app icons
Install symbolic variants of the app icons for gtk3-demo and
gtk3-widget-factory. These are necessary for the HighContrast theme.
https://bugzilla.gnome.org/show_bug.cgi?id=740447
Matthias Clasen [Fri, 28 Nov 2014 17:34:56 +0000 (12:34 -0500)]
docs: Add a missing word
Matthias Clasen [Fri, 28 Nov 2014 17:32:26 +0000 (12:32 -0500)]
Drop an unused variable
Lapo Calamandrei [Fri, 28 Nov 2014 16:03:53 +0000 (17:03 +0100)]
Adwaita: GtkTreeView insensitive state style.
See https://bugzilla.gnome.org/show_bug.cgi?id=740770.
Matthias Clasen [Fri, 28 Nov 2014 03:56:46 +0000 (22:56 -0500)]
inspector: Simplify some code
Yosef Or Boczko [Mon, 24 Nov 2014 17:09:02 +0000 (19:09 +0200)]
GtkStackSwitcher: Make the buttons fill vertically
It fix some cases with different height for the buttons,
like with Hebrew character.
https://bugzilla.gnome.org/show_bug.cgi?id=740642